package com.zhengke.service.archie.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhengke.dao.archie.HelpCenterDao;
import com.zhengke.pojo.archie.HelpCenter;
import com.zhengke.pojo.archie.HelpDetail;
import com.zhengke.service.archie.HelpCenterService;

/**
 * @author 黄保富
 * @date 2020年1月13日  
 * @version 1.0.0 
 * 
 */
@Service
public class HelpCenterServiceImpl implements HelpCenterService {
	
	//注入对象
	@Autowired
	HelpCenterDao helpCenterDao;

	@Override
	public List<HelpCenter> querryAllHelpCenter() {
		
		return helpCenterDao.querryAllHelpCenter();
	}

	@Override
	public List<HelpDetail> querryDetailByHelpId(String helpId) {
		
		return helpCenterDao.querryDetailByHelpId(helpId);
	}
	
	

}
